//
//  HomePageView.m
//  WorkNest
//
//  Created by qbm360 on 15/7/27.
//  Copyright (c) 2015年 nest. All rights reserved.
//

#import "HomePageView.h"

@interface HomePageView ()

@property (strong, nonatomic) IBOutlet UIView *view;

@end

@implementation HomePageView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setup];
    }
    return self;
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super initWithCoder:aDecoder];
    if(self) {
        [self setup];
    }
    return self;
}

- (void)setup
{
    [[NSBundle mainBundle] loadNibNamed:@"HomePageView" owner:self options:nil];
    _view.frame = self.bounds;
    [self addSubview:_view];
}

@end
